package security.controller;


import io.swagger.annotations.ApiParam;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RestController;
import security.SecurityUtil.login.LoginModel;

/**
 * <p>
 * 登录信息表 前端控制器
 * </p>
 *
 * @author liyp
 * @since 2020-01-08
 */
@RestController
@RequestMapping("/login")
public class YxLoginController {

    @PostMapping("")
    public void login(@RequestBody LoginModel loginModel){
        //登录不成功，filter会直接返回，登录成功后返回jwt认证token
    }
}
